package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.SysDeviceAttr;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDeviceAttrMapper {
    int deleteByPrimaryKey(Integer attrId);

    int insert(SysDeviceAttr record);

    int insertSelective(SysDeviceAttr record);

    SysDeviceAttr selectByPrimaryKey(Integer attrId);

    int updateByPrimaryKeySelective(SysDeviceAttr record);

    int updateByPrimaryKey(SysDeviceAttr record);
    int getCount(@Param("where")String where);
    
    List<SysDeviceAttr> findWhereList(@Param("where")String where, @Param("order")String order);
    
    List<SysDeviceAttr> findPagerList(@Param("start")Integer start, @Param("length")Integer length, @Param("where")String where, @Param("order")String order);
    int deleteByWhere(@Param("where")String where);
    Integer getMaxNo(@Param("typeId")Integer typeId);
}